﻿//页面脚本引导加载
(function(){
window.fastCSharp=
		{
Version:0,
//根据对象创建简单节点
CreateNode:function(TagName,Node)
	{
	var Element=document.createElement(TagName);
	for(var Name in Node)	if(Node[Name])	Element[Name]=Node[Name];
	return Element;
	},
//根据对象创建简单节点并添加到head节点，主要用于动态加载js文件
AppendHead:function(TagName,Node)
	{
	var Element=this.CreateNode(TagName,Node);
	this.$Head.appendChild(Element);
	return Element;
	},
//浏览器类型识别，引导加载底层基础类库
Load:function()
	{
	fastCSharp.$Head=document.getElementsByTagName('head')[0];
	fastCSharp.AppendHead('script',{language:'javascript',type:'text/javascript',src:fastCSharp.JsDomain+'js/base.'+(arguments.length&&(navigator.appName!='Microsoft Internet Explorer')?'ns':'ie')+'.js?v='+fastCSharp.Version,charset:fastCSharp.Charset});
	}
		};
setTimeout(fastCSharp.Load,__JSLOADTIME__,'javascript');
})();
